#![no_main]
#![no_std]


mod c;
mod cmsis_rtos;
mod utils;


#[inline(always)]
pub fn system_init() {
    unsafe { c::SystemInit(); }
}

pub use cmsis_rtos::*;

pub use c::osWaitForever;
pub use c::osPriority_t_osPriorityHigh;
pub use c::osPriority_t_osPriorityHigh1;
pub use c::osPriority_t_osPriorityHigh2;
pub use c::osPriority_t_osPriorityHigh3;
pub use c::osPriority_t_osPriorityHigh4;

pub use c::osThreadJoinable;
pub use c::osThreadDetached;

pub use utils::Store;

